package cn.iocoder.yudao.module.crm.controller.admin.cluetranslog.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 规则执行记录新增/修改 Request VO")
@Data
public class ClueTransLogSaveReqVO {

    @Schema(description = "记录id", requiredMode = Schema.RequiredMode.REQUIRED, example = "26315")
    private Long id;

    @Schema(description = "规则id", requiredMode = Schema.RequiredMode.REQUIRED, example = "9426")
    @NotNull(message = "规则id不能为空")
    private Long ruleId;

    @Schema(description = "账号id", requiredMode = Schema.RequiredMode.REQUIRED, example = "8677")
    @NotNull(message = "账号id不能为空")
    private Long accountId;

    @Schema(description = "线索量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "线索量不能为空")
    private Integer clueTotal;

    @Schema(description = "转入量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "转入量不能为空")
    private Integer transTotal;

    @Schema(description = "上次查询时间")
    private LocalDateTime lastQueryTime;

    @Schema(description = "下次查询时间")
    private LocalDateTime nextQueryTime;

}